import request from '@/utils/request.ts';

//登录接口
export function userLogin(data) {
	return request({
		url: '/user/login',
		method: 'post',
		data
	})
}
// 退出登录/logout
export function logouts(data) {
	return request({
		url: '/logout',
		method: 'GET',
		params:data
	})
}